Optimal. Leaf size=71 \[ -\frac {a+b \text {ArcTan}(c x)}{e \sqrt {d+e x^2}}+\frac {b c \text {ArcTan}\left (\frac {\sqrt {c^2 d-e} x}{\sqrt {d+e x^2}}\right )}{\sqrt {c^2 d-e} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.05, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {5094, 385, 209}
\begin {gather*} \frac {b c \text {ArcTan}\left (\frac {x \sqrt {c^2 d-e}}{\sqrt {d+e x^2}}\right )}{e \sqrt {c^2 d-e}}-\frac {a+b \text {ArcTan}(c x)}{e \sqrt {d+e x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 385
Rule 5094
Rubi steps
\begin {align*} \int \frac {x \left (a+b \tan ^{-1}(c x)\right )}{\left (d+e x^2\right )^{3/2}} \, dx &=-\frac {a+b \tan ^{-1}(c x)}{e \sqrt {d+e x^2}}+\frac {(b c) \int \frac {1}{\left (1+c^2 x^2\right ) \sqrt {d+e x^2}} \, dx}{e}\\ &=-\frac {a+b \tan ^{-1}(c x)}{e \sqrt {d+e x^2}}+\frac {(b c) \text {Subst}\left (\int \frac {1}{1-\left (-c^2 d+e\right ) x^2} \, dx,x,\frac {x}{\sqrt {d+e x^2}}\right )}{e}\\ &=-\frac {a+b \tan ^{-1}(c x)}{e \sqrt {d+e x^2}}+\frac {b c \tan ^{-1}\left (\frac {\sqrt {c^2 d-e} x}{\sqrt {d+e x^2}}\right )}{\sqrt {c^2 d-e} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.26, size = 210, normalized size = 2.96 \begin {gather*} -\frac {\frac {2 a}{\sqrt {d+e x^2}}+\frac {2 b \text {ArcTan}(c x)}{\sqrt {d+e x^2}}+\frac {i b c \log \left (-\frac {4 i e \left (c d-i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \sqrt {c^2 d-e} (i+c x)}\right )}{\sqrt {c^2 d-e}}-\frac {i b c \log \left (\frac {4 i e \left (c d+i e x+\sqrt {c^2 d-e} \sqrt {d+e x^2}\right )}{b \sqrt {c^2 d-e} (-i+c x)}\right )}{\sqrt {c^2 d-e}}}{2 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \frac {x \left (a +b \arctan \left (c x \right )\right )}{\left (e \,x^{2}+d \right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 182 vs.
\(2 (65) = 130\).
time = 2.39, size = 401, normalized size = 5.65 \begin {gather*} \left [-\frac {{\left (b c x^{2} e + b c d\right )} \sqrt {-c^{2} d + e} \log \left (\frac {c^{4} d^{2} x^{4} - 6 \, c^{2} d^{2} x^{2} + 8 \, x^{4} e^{2} - 4 \, {\left (c^{2} d x^{3} - 2 \, x^{3} e - d x\right )} \sqrt {-c^{2} d + e} \sqrt {x^{2} e + d} + d^{2} - 8 \, {\left (c^{2} d x^{4} - d x^{2}\right )} e}{c^{4} x^{4} + 2 \, c^{2} x^{2} + 1}\right ) + 4 \, {\left (a c^{2} d + {\left (b c^{2} d - b e\right )} \arctan \left (c x\right ) - a e\right )} \sqrt {x^{2} e + d}}{4 \, {\left (c^{2} d^{2} e - x^{2} e^{3} + {\left (c^{2} d x^{2} - d\right )} e^{2}\right )}}, \frac {{\left (b c x^{2} e + b c d\right )} \sqrt {c^{2} d - e} \arctan \left (\frac {{\left (c^{2} d x^{2} - 2 \, x^{2} e - d\right )} \sqrt {c^{2} d - e} \sqrt {x^{2} e + d}}{2 \, {\left (c^{2} d^{2} x - x^{3} e^{2} + {\left (c^{2} d x^{3} - d x\right )} e\right )}}\right ) - 2 \, {\left (a c^{2} d + {\left (b c^{2} d - b e\right )} \arctan \left (c x\right ) - a e\right )} \sqrt {x^{2} e + d}}{2 \, {\left (c^{2} d^{2} e - x^{2} e^{3} + {\left (c^{2} d x^{2} - d\right )} e^{2}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x \left (a + b \operatorname {atan}{\left (c x \right )}\right )}{\left (d + e x^{2}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x\,\left (a+b\,\mathrm {atan}\left (c\,x\right )\right )}{{\left (e\,x^2+d\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________